package com.basic.business.artErp.service.impl;

import com.basic.business.artErp.domain.TArtErp;
import com.basic.business.artErp.mapper.TArtErpMapper;
import com.basic.business.artErp.service.ITArtErpService;
import com.basic.common.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 任务erpService业务层处理
 *
 * @author ruize
 * @date 2024-11-23
 */
@Service
public class TArtErpServiceImpl extends BaseServiceImpl<TArtErpMapper,TArtErp> implements ITArtErpService {

    @Resource
    private TArtErpMapper tArtErpMapper;

    @Override
    public int insertTArtErp(TArtErp tArtErp) {
        return tArtErpMapper.insertTArtErp(tArtErp);
    }

    @Override
    public int updateTArtErp(TArtErp tArtErp) {
        return tArtErpMapper.updateTArtErp(tArtErp);
    }

    @Override
    public int selectArtNum(TArtErp tArtErp) {
        return tArtErpMapper.selectArtNum(tArtErp);
    }

    @Override
    public List<TArtErp> getDoesItExist(TArtErp tArtErp) {
        return tArtErpMapper.getDoesItExist(tArtErp);
    }

    @Override
    public List<TArtErp> getretrieve(TArtErp tArtErp) {
        return tArtErpMapper.getretrieve(tArtErp);
    }

    @Override
    public List<TArtErp> getAssignTasksList(TArtErp tArtErp) {
        return tArtErpMapper.getAssignTasksList(tArtErp);
    }

    @Override
    public List<Map<String, Object>> getUserIdList() {
        return tArtErpMapper.getUserIdList();
    }

    @Override
    public List<Map<String, Object>> getTaskCompletionStatistics(String beginTime,String endTime,String name,String userId) {
        return tArtErpMapper.getTaskCompletionStatistics(beginTime, endTime, name, userId);
    }

    @Override
    public List<Map<String, Object>> getArtistAllocationList() {
        return tArtErpMapper.getArtistAllocationList();
    }

    @Override
    public List<Map<String, Object>> getReceiveTasksPersonList() {
        return tArtErpMapper.getReceiveTasksPersonList();
    }

    @Override
    public List<Map<String, Object>> getMakeUpList() {
        return tArtErpMapper.getMakeUpList();
    }

}
